WCPOS\WooCommercePOS\API\Product_Variations_Controller A

Total Complexity 71
Dependencies 9
Dependents 1
Total lines 497
Lines of code 255
Logical lines of code 163
Comment lines 156
Methods 15
Properties 2

Methods 15

Method Rating Maintainability Complexity Lines of code
wcpos_posts_search()
A
46 11 38
wcpos_get_all_posts()
A
42 9 47
wcpos_variation_response()
A
53 9 21
prepare_objects_query()
S
52 7 25
get_item_schema()
S
56 6 17
get_collection_params()
S
57 5 16
wcpos_product_variation_query()
S
59 5 13
wcpos_posts_where_product_variation_exclude_online_only()
S
59 4 12
wcpos_posts_where_product_variation_include_exclude()
S
58 3 14
wcpos_dispatch_request()
S
60 3 11
wcpos_posts_join_to_posts_search()
S
66 3 7
register_routes()
S
59 1 16
wcpos_insert_product_variation_object()
S
67 2 8
wcpos_posts_groupby_posts_search()
S
68 2 7
wcpos_get_all_items()
S
80 1 3